home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / NextAnswers / EOF1.2_PDO4.0_Example / Makefile.preamble-hpux-sybase < prev    next >
Makefile  |  1996-04-15  |  994b  |  44 lines

  1. #
  2. # Sybase Setup for solaris
  3. #
  4.  
  5. FRAMEWORKS += Sybase1x
  6.  
  7. #
  8. # Client library location
  9. #
  10. SYBASE_HOME = /home/sybase
  11.  
  12. #
  13. # Path for the libs
  14. #
  15. OTHER_LDFLAGS += -L. -L$(SYBASE_HOME)/lib
  16.  
  17. #
  18. # Libraries used
  19. #
  20. OTHER_LIBS += -lsybdb -lm
  21.  
  22. #
  23. # The following variables are to workaround the fact that tcp_open is defined
  24. # in both the libsybdb.a(from Sybase) and libdce.a(from HP). These are used in
  25. # Makefile.postamble-hpux-sybase file.
  26. #
  27. # Add current Directory to library path
  28. OTHER_LDFLAGS += -L.
  29. # Add new dblibrary as a build target
  30. OTHER_PRODUCT_DEPENDS += $(SYMROOT)/libsybdb.a
  31. # Define multiply defined symbols
  32. SYMBOLS_TO_HIDE = tcp_open
  33. # Location and name of original dblibrary
  34. INPUT_LIBRARY = $(SYBASE_HOME)/lib/libsybdb.a
  35. # Name of modified dblibrary
  36. OUTPUT_LIBRARY = libsybdb.a
  37. # Directory for temporary files
  38. SCRATCH_DIR = /tmp
  39. # Directory for dblibrary object files
  40. PATCH_OFILE_DIR = $(SCRATCH_DIR)/PatchFiles
  41. # Add munged library to garbage list
  42. OTHER_GARBAGE += $(SYMROOT)/libsybdb.a
  43.